<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" import="pojo.*,service.*,java.util.*,java.text.*"%>

<%
		request.setCharacterEncoding("utf-8");
		String name = (String)request.getParameter("name").trim();
        int id=Integer.parseInt(request.getParameter("id"));
        int type=Integer.parseInt(request.getParameter("type"));
        int area=Integer.parseInt(request.getParameter("area"));
		TableService dms = new TableService();
		String detail = (String)request.getParameter("detail").trim(); 
	    dms.getUpdateByid(area,type,name,detail,id);
	    out.print("修改成功");		
	

		 
%>
<head>
<script type="text/javascript">
function tiao(){
	location.href="../tablelist.jsp";
	};
	setTimeout(tiao,1000);


</script>

</head>
<body></body>
